/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.wms.entity.Sum;
import com.jeeplus.modules.wms.mapper.SumMapper;

/**
 * 出入库统计Service
 * @author 李超辉
 * @version 2018-04-18
 */
@Service
@Transactional(readOnly = true)
public class SumService extends CrudService<SumMapper, Sum> {

	public Sum get(String id) {
		return super.get(id);
	}
	
	public List<Sum> findList(Sum sum) {
		return super.findList(sum);
	}
	
	public Page<Sum> findPage(Page<Sum> page, Sum sum) {
		return super.findPage(page, sum);
	}
	
	@Transactional(readOnly = false)
	public void save(Sum sum) {
		super.save(sum);
	}
	
	@Transactional(readOnly = false)
	public void delete(Sum sum) {
		super.delete(sum);
	}
	
}